#include <bits/stdc++.h>
using namespace std;
int n,h[100005];
bool cmp(int x,int y)
{
    return x>y;
}
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++)
    {
        int x;cin>>x;
        h[x]++;
    }
    sort(h,h+100005,cmp);
    cout<<h[0];
    return 0;
}
